package model;

public class Grade {
	
	private Integer idGrade;
	private Integer idCustomer;
	private Integer idBook;
	//Grade between 0.0 and 10.0
	private Double grade;
	
	public Integer getIdGrade() {
		return idGrade;
	}
	
	public void setIdGrade(Integer idGrade) {
		this.idGrade = idGrade;
	}
	
	public Integer getIdCustomer() {
		return idCustomer;
	}
	
	public void setIdCustomer(Integer idCustomer) {
		this.idCustomer = idCustomer;
	}
	
	public Integer getIdBook() {
		return idBook;
	}
	
	public void setIdBook(Integer idBook) {
		this.idBook = idBook;
	}
	
	public Double getGrade() {
		return grade;
	}
	
	public void setGrade(Double grade) {
		this.grade = grade;
	}
	
	public String displayString() {
		return idGrade + " - " + idCustomer + " - " + idBook + " - " + grade;
    }

}
